
<ion-content>
    <div class="second-head" >
      <div class="header-main">
        <div class="header-left">{{pageMenu.title}}</div>
        <button style="background: inherit;padding: 0;" (click)="showSettings()">
          <ion-icon class="btn-settings" name="settings"></ion-icon>
        </button>
      </div>
    </div>
    <div class="second" >
      <div class="header-next">
        <div class="header-left">
          <img class="photo-head" src="assets/imgs/userPhoto.jpeg">
          <div class="text-name">{{pageMenu.userName}}</div>
        </div>
        <!--<button style="background-color: inherit" (click)="pagePush('我的信息')"><ion-icon name="ios-arrow-forward-outline"></ion-icon></button>-->
      </div>
    </div>
    <div class="divider-container">
      <ion-list>
        <ng-container *acl="['BOSS']">
          <ng-container  *ngFor="let item of pageMenu.bossMenu;let i=index">
            <button ion-item  (click)="pagePush(item.title)">
              <ion-icon name="{{item.icon}}" [ngStyle]="{color:item.color}" item-start></ion-icon>
              {{item.title}}
            </button>
          </ng-container>
        </ng-container>
        <ng-container *acl="['STAFF']">
          <ng-container *ngFor="let item of pageMenu.bossMenu;let i=index">
            <button ion-item  (click)="pagePush(item.title)">
              <ion-icon name="{{item.icon}}" [ngStyle]="{color:item.color}" item-start></ion-icon>
              {{item.title}}
            </button>
          </ng-container>
        </ng-container >
        <ng-container *acl="[6]">
          <ng-container *ngFor="let item of pageMenu.adminMenu;let i=index">
            <button ion-item  (click)="pagePush(item.title)">
              <ion-icon name="{{item.icon}}" [ngStyle]="{color:item.color}" item-start></ion-icon>
              {{item.title}}
            </button>
          </ng-container>
        </ng-container>
      </ion-list>
    </div>
  <div id="form-hidden">

  </div>

  <!--<page-upload-file [type]="0" [upload]="upload" (imgId)="t($event)"></page-upload-file>-->
</ion-content>
